package reflect;

public class Test03 {
    public static void main(String[] args) {
        A a = new A();
        System.out.println(a.m);
    }
}
class A{
    static {
        System.out.println("这是A的静态代码块");
        m=300;
    }
    static int m=100;
    public A(){
        System.out.println("这是A的无参构造函数");
    }
}
//这是A的静态代码块
//这是A的无参构造函数
//100